package com.iyohei.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.iyohei.entry.Blog;

@Mapper
public interface BlogMapper {
	
	@Select("select * from blog where id = #{start}")
	public Blog getById(long start);
	
	@Select("select * from blog")
	public List<Blog> getBlog();
}
